package com.pan.admin.module.form.service.impl;

import com.pan.admin.module.form.dao.FormDao;
import com.pan.admin.module.form.entity.FormPO;
import com.pan.admin.module.form.service.FormService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
 *  表单及表单值
 */
@Service
public class FormServiceImpl implements FormService {

    @Autowired
    private FormDao formDao;

    @Override
    @Transactional(readOnly = true)
    public List<FormPO> list() {
        return formDao.list();
    }

}
